ListBox.CellType Property

Syntax

CellType as Integer


Parameters are row, column (Integers). The first cell is 0,0.


Use the following class constants to set the CellType:

TypeDefault (0): Default, same as column type

TypeNormal (1): Normal

TypeCheckBox (2): Add checkbox

TypeEditable (3): Inline editable

For example:

lb1.CellType(1,1)=ListBox.TypeCheckBox

The values of CellType > 0 override ColumnType. For example, if ColumnType is 2, but a cell in the column has CellType set to 1, the cell will be normal.